from machine import Pin,ADC
import time
from setting import *


mic = Pin(MIC_PIN)
while True:
    #print(mic.value())
    if mic.value() == 0:
        print("有声音")
    time.sleep_ms(50)
